package test.common.aop;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

public class AopInterceptor implements Interceptor {
	public void intercept(Invocation inv) {
		System.out.println("Before method invoking");
		System.out.println("int:"+inv.getArg(0)+",string:"+inv.getArg(1));
		inv.invoke();
		System.out.println("After method invoking");
	}
}